package com.cql.common.core.DTO;

import com.cql.common.core.DO.UserDO;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author cql
 */
@Data
public class CommentDTO implements Serializable {

    private Long commentId;

    private Long parentId;

    private Long typeId;

    private Integer type;

    private String content;

    private UserDO fromUser;

    private UserDO toUser;

    private List<CommentDTO> children;

}
